package cn.may.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author May
 * @date 2020/10/30 15:16
 * @desc
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Phone {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ExcelProperty("编号")
    private Long id;
    @ExcelProperty("手机品牌")
    private String brand;
    @ExcelProperty("屏幕大小")
    private Double screen;
    @ExcelProperty("系统")
    private String system;
    @ExcelProperty("价格")
    private Double price;
}
